import request from '@/utils/request'
import defaultSettings from '@/settings'
import { praseStrEmpty } from '@/utils/ruoyi'

//业务入账状态查询应答录入
export const apiUrlConfigQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/bsInformation/businessAccountStatus/ccmsBusinessAccountQueryRespondEntry/search`,
}


// 业务入账状态查询应答录入维护
export function ccmsBusinessAccountQueryRespondEntryDetail(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/bsInformation/businessAccountStatus/ccmsBusinessAccountQueryRespondEntry/detail`,
    method: 'get',
    params: { id:data.id }
  })
}



// 业务入账状态查询应答录入维护
export function ccmsBusinessAccountQueryRespondEntry(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/bsInformation/businessAccountStatus/ccmsBusinessAccountQueryRespondEntry/save`,
    method: 'post',
    data:data
  })
}
